package com.ztgf.commodity.models.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.NumberFormat;

import java.io.Serializable;
import java.math.BigDecimal;

/*
 * @author: chenyu.wang
 * @date: 2020-08-31
 * @description:商品导出VO
 */
@Data
public class CommodityExportNewVO implements Serializable {


    @Excel(name = "店铺名称")
    private String shopName;
    @ExcelIgnore
    private String categoryId;
    @Excel(name = "类目")
    private String categoryName;
    @Excel(name = "品牌")
    private String brandName;
    @Excel(name = "商品名称")
    private String commodityName;
    @Excel(name = "销售属性")
    private String atrrNames;
    @Excel(name = "费率")
    private String taxRate;
    @Excel(name = "原价", numFormat = "0.00")
    private BigDecimal originalPrice;
    @Excel(name = "单价", numFormat = "0.00")
    private BigDecimal price;
    @Excel(name = "批发价", numFormat = "0.00")
    private BigDecimal wholesalePrice;
    @Excel(name = "起批数量")
    private String batchNumber;
    @Excel(name = "库存")
    private String inventoryNumber;
    @Excel(name = "库存预警")
    private String inventoryNumberWarning;
    @Excel(name = "单位")
    private String commodityUnit;
    @Excel(name = "发货区域")
    private String sendAreaName;
    @Excel(name = "销售区域")
    private String availableAreaName;
    @Excel(name = "商品类型")
    private String type;
    @Excel(name = "是否上架")
    private String isPublish;
    @Excel(name = "质保期/月")
    private String warrantyMonth;
    @Excel(name = "是否询价商品")
    private String isInquiry;
    @Excel(name = "首款比例")
    private String firstBalance;
    @Excel(name = "尾款比例")
    private String tailBalance;
    @Excel(name = "是否平台下架")
    private String isPlatformShelf;
    @Excel(name = "尺寸")
    private String commoditySize;
    @Excel(name = "尺寸单位")
    private String commoditySizeUnit;
    @Excel(name = "发货时间/天")
    private String sendDays;
    @Excel(name = "备货时间/天")
    private String stockDays;
    @Excel(name = "是否删除")
    private String isDelete;
    @Excel(name = "是否平台删除")
    private String isAdminDelete;

}
